<template>
	<view class="pages-login">
		<image src="/static/images/common/no_data.png" mode="scaleToFill"
			style="width: 550rpx;height: 436rpx;margin: 0 auto;display: block;"></image>
		<view class="tips pt-20 pb-30" style="text-align: center;">
			请重新登录授权
		</view>
		<view class="btn-ac" style="width: 650rpx;margin: 0 auto;" @click="onload">
			重新登录
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		methods: {
			onload() {
				this.login()
			}
		},
		onLoad() {
			let company_token = uni.getStorageSync('company_token') || ''
			if (company_token) {
				setTimeout(() => {
					let loginAgain = uni.getStorageSync('loginAgain')
					uni.redirectTo({
						url: loginAgain
					})
				}, 3000)
			}

		}

	}
</script>
<style lang="scss">
	.pages-login {
		width: 100vw;
		height: 100vh;
		background-color: #fff;

	}
</style>